home *** CD-ROM | disk | FTP | other *** search
- on mouseDown
- global gsCleanUpHandler, giWhereIWas, name, orange, purple, yellow, rainy
- set name to 0
- set giWhereIWas to the frame
- buttonLogic()
- if the result = 1 then
- do(gsCleanUpHandler)
- set the visible of sprite 2 to 1
- if the machineType <> 256 then
- rainfade()
- end if
- if the machineType = 256 then
- puppetSound(0)
- sound stop 1
- sound stop 2
- if (the frame >= 43) and (the frame <= 50) then
- nothing()
- else
- if rainy = 1 then
- set the movieRate of sprite 3 to 0
- set rainy to 0
- else
- repeat with x = 3 to 5
- if the visible of sprite x = 1 then
- set the movieRate of sprite x to 0
- next repeat
- end if
- nothing()
- end repeat
- end if
- end if
- set gbVideoUp to 0
- else
- set gbVideoUp to 0
- end if
- unLoad(139)
- unLoad(176, 183)
- unLoad(522)
- unLoad(519)
- unLoad(168, 175)
- unLoad(446, 460)
- unLoad(426, 459)
- unLoad(520)
- unLoad(155)
- set orange to 0
- set purple to 0
- set yellow to 0
- puppetSound(0)
- puppetSprite(2, 0)
- go("PhotoAlbum")
- end if
- end
-